package com.ruoyi.business.service;

import com.ruoyi.business.domain.SysUserLoginCompany;
import com.ruoyi.business.domain.bo.SysUserLoginCompanyBo;
import com.ruoyi.business.domain.bo.admin.AdminSysUserLoginCompanyBo;
import com.ruoyi.business.domain.vo.SysUserLoginCompanyVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

public interface ISysUserLoginCompanyService {
    Boolean insert(SysUserLoginCompany sysUserLoginCompany);




    /**
     * 查询公司信息
     */
    SysUserLoginCompanyVo queryById(Long driverId);

    /**
     * 查询公司信息列表
     */
    TableDataInfo<SysUserLoginCompanyVo> queryPageList(SysUserLoginCompanyBo bo, PageQuery pageQuery);

    /**
     * 查询公司信息列表
     */
    List<SysUserLoginCompanyVo> queryList(SysUserLoginCompanyBo bo);

    /**
     * 新增公司信息
     */
    Boolean insertByBo(SysUserLoginCompanyBo bo);

    /**
     * 修改公司信息
     */
    Boolean updateByBo(SysUserLoginCompanyBo bo);

    /**
     * 校验并批量删除公司信息信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);


    /**
     * 校验重复信息
     */
    String checkRepeatInfo(AdminSysUserLoginCompanyBo bo);


    /**
     * 后台插入公司
     */
    Boolean insertByAdminBo(AdminSysUserLoginCompanyBo bo);

    /**
     * 编辑插入公司
     */
    Boolean updateByAdminBo(AdminSysUserLoginCompanyBo bo);

}
